/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package udpUnitAdapt;

/**
 *
 * @author axelsben
 */
public class unitClient {
    private udpClient uc = new udpClient();

    unitClient(String server, int port)
    {
        uc.setAddress(server);
        uc.setSocket(port);
        uc.setLogging(false);
    }
    public void send(byte[] bs)
    {
        try
        {
            uc.send(bs);
        }
        catch(Exception x)
        {
        }

    }

}
